package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmProduceInstockDTO;
import com.xinsoft.entity.dto.ScmProduceInstockParam;
import com.xinsoft.entity.po.ScmProduceInstock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmProduceInstockPageVo;
import com.xinsoft.entity.vo.ScmProduceInstockVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_produce_instock(生产入库)】的数据库操作Service
* @createDate 2023-08-14 11:30:37
*/
public interface ScmProduceInstockService extends IService<ScmProduceInstock> {

    IPage<ScmProduceInstockPageVo> findPageListByParam(ScmProduceInstockParam param);

    List<ScmProduceInstockPageVo> findListByParam(ScmProduceInstockParam param);

    Integer tempSave(ScmProduceInstockDTO dto);


    ScmProduceInstockVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);

    void saveAudit(ScmProduceInstockDTO dto);
}
